
<template>
    <div class="packUp" @click="packUp">
        <img v-if="props.showSearch" title="收起" src="../../assets/images/manage/shang.png" />
        <img v-else title="展开" src="../../assets/images/manage/xia.png" />
    </div>
</template>
<script setup>
const { proxy } = getCurrentInstance();
const props = defineProps({
    showSearch: {
        type: Boolean
    }
});
function packUp() {
    // props.showSearch = !props.showSearch
    proxy.$emit('showUp')
}
</script>